ResourceLock Method (String, String, Int32) |
Lock a resource based on the given parameters.
Namespace:
Independentsoft.Webdav
Assembly:
Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntaxpublic ActiveLock Lock(
string address,
string depth,
int timeout
)
Public Function Lock (
address As String,
depth As String,
timeout As Integer
) As ActiveLock
Parameters
- address
- Type: SystemString
The URI of the resource to lock. - depth
- Type: SystemString
The depth of lock. Allowed values are: Depth.Zero and Depth.Infinity - timeout
- Type: SystemInt32
The lock timeout in seconds.
Return Value
Type:
ActiveLockAn ActiveLock as result of lock operation.
See Also